<!--{eval $_TPL['titles'] = array('我说');}-->
<!--{template header_tpl}-->
<div class="grid_16 main_box">
	<div class="grid_16 box">
		<h1>{$user[name]}说</h1>
		<!--{if $talk}-->
			<div class="grid_16">
				<span class="gray">
					<!--{date('Y-m-d H:i:s', $talk['dateline'])}-->&nbsp;&nbsp;说：&nbsp;&nbsp;
					<!--{if $self}-->
					<a class="dellink" title="删除" href="{SITEURL}/talk/remove/{$talk[talkid]}" onclick="return confirm('本操作不可恢复，确认删除？');">X</a>
					<!--{/if}-->
				</span>
				<div class="detail">{$talk[message]}</div>
			</div>
		
			<!--{if $comments[list]}-->
				<!--评论框-->
				<div id="comment_{$idtype}_{$id}" class="fcomment" style="display:block;margin-left:20px;width:600px;padding-bottom:20px;">
					<div class="fc">
						<div class="comments_list">
							<ul id="comment_ol_{$idtype}_{$id}">
							<!--{loop $comments[list] $value}-->
								<li id="comment_$value[cid]_li">
									<div class="avatar"><a href="{SITEURL}home/index/{$value[authorid]}"><img src="{$value[avatar_small]}" /></a></div>
									<div class="title">
										<div class="r_option">
										<span class="gray"><!--{date('Y-m-d H:i',$value['dateline'],1)}--></span>
										<!--{if $value[authorid] == $uid || $value[uid] == $uid}-->
										<a href="javascript:void(0);" id="c_$value[cid]_delete" onclick="if(confirm('本操作不可恢复，确认删除？'))delComment('{$value[cid]}', '{$id}', '{$idtype}');" class="dellink" title="删除">X</a>
										<!--{/if}-->
									</div>
									<div class="detail" id="comment_$value[cid]">
										<!--{if $value[author]}-->
										<a href="{SITEURL}home/index/{$value[authorid]}" id="author_$value[cid]">$value[author]</a> 
										<!--{else}-->
										匿名
										<!--{/if}-->
										 ： 
										$value[message]
									</div>
								</li>
							<!--{/loop}-->
							</ul>
						</div>
						<div class="footactions">
							<div class="pages">
								{$comments[multi]}
							</div>
						</div>
							<form action="{SITEURL}comment/index/" method="post">
							<textarea id="message" name="set[message]" class="comment_message"></textarea>
							<input type="hidden" id="comment_key" name="set[comment_key]" value="{$comment_key}">
							<input type="hidden" id="id" name="set[id]" value="{$id}">
							<input type="hidden" id="idtype" name='set[idtype]' value="{$idtype}">
							<input type="hidden" id="uid" name="set[uid]" value="{$uid}">
							<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
							<input type="submit" name="commentsbumit" class="comment_button" value="回应">
							</form>
					</div>
				</div>
			<!--{/if}-->
		
		<!--{else}-->
			该记录可能已经被删除或系统错误。
		<!--{/if}-->
	</div>
</div>
<div class="grid_7 omega sidebar">
	><a href="{SITEURL}talk/index">返回{$user[name]}的全部"我说"
</div>
<!--{template footer_tpl}-->